<?php /* Smarty version Smarty-3.1.12, created on 2012-10-24 16:00:52
         compiled from "D:\project\myProject\Admin\template\siteinfo.tpl" */ ?>
<?php /*%%SmartyHeaderCode:1563850873bcd73d311-60057894%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'f3ae43cc3fc66640eb72d51494ad57e978f309d6' => 
    array (
      0 => 'D:\\project\\myProject\\Admin\\template\\siteinfo.tpl',
      1 => 1351065339,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '1563850873bcd73d311-60057894',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.12',
  'unifunc' => 'content_50873bcd764339_79028983',
  'variables' => 
  array (
    'sitename' => 0,
    'adminemail' => 0,
    'closesite' => 0,
    'closereason' => 0,
    'beian' => 0,
    'copyright' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_50873bcd764339_79028983')) {function content_50873bcd764339_79028983($_smarty_tpl) {?><?php echo $_smarty_tpl->getSubTemplate ("header.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>

<body>
    <script type="text/javascript">
           $(document).ready(function(){
                $.formValidator.initConfig({formID:"baseinfo",onError:function(){alert("校验没有通过，具体错误请看错误提示")}});
                $("#sitename").formValidator({onShow:"输入网站名称,会显示在网页的title标签中",onFocus:"输入网站名称,会显示在网页的title标签中",onCorrect:""});
                $("#adminemail").formValidator({onShow:"输入管理员的邮箱,方便与您取得联系",onFocus:"输入管理员的邮箱,方便与您取得联系",onCorrect:"输入正确"}).regexValidator({regExp:"^([\\w-.]+)@(([[0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3}.)|(([\\w-]+.)+))([a-zA-Z]{2,4}|[0-9]{1,3})(]?)$",onError:"你输入的邮箱格式不正确"});
                $("#closesite").formValidator({onShow:"关闭网站后,首页只会显示关闭信息",onFocus:"关闭网站后,首页只会显示关闭信息",onCorrect:""});
                $("#closereason").formValidator({onShow:"关闭网的原因,可以让访问者看到,提高用户体验",onFocus:"关闭网的原因,可以让访问者看到,提高用户体验",onCorrect:""});
                $("#beian").formValidator({onShow:"请填写您申请的网站备案号码",onFocus:"请填写您申请的网站备案号码",onCorrect:""});
                $("#copyright").formValidator({onShow:"会显示在网站底部,网站的版权信息",onFocus:"会显示在网站底部,网站的版权信息",onCorrect:""});
                $("#ishtml").formValidator({onShow:"采用静态会减少服务器的压力",onFocus:"采用静态会减少服务器的压力",onCorrect:""});
            });
           
        </script>
    <div class="admin_right_base">
        <div class="admin_right">
            <form action="?base-siteinfo" method="post" id="baseinfo">
                <table cellpadding="0" cellspacing="0" border="0" width="100%" class="baseinfo">
                        <tr>
                                    <td width="20%" align="right">网站名称:</td>
                                    <td width="30%"><input type="text" name="webconfig[sitename]" id="sitename" value="<?php echo $_smarty_tpl->tpl_vars['sitename']->value;?>
"/></td>
                                    <td><div id="sitenameTip"></div></td>
                        </tr>
                        <tr>
                                    <td align="right">管理员邮箱:</td>
                                    <td><input type="text" name="webconfig[adminemail]" id="adminemail" value="<?php echo $_smarty_tpl->tpl_vars['adminemail']->value;?>
" /></td>
                                    <td><div id="adminemailTip"></div></td>
                        </tr>
                        <tr>
                                    <td align="right">关闭网站:</td>
                                    <td><input type="radio" name="webconfig[closesite]" id="closesite" value="0" <?php if ($_smarty_tpl->tpl_vars['closesite']->value==0){?>checked<?php }?>/>&nbsp;&nbsp;否 &nbsp;&nbsp;<input type="radio" name="webconfig[closesite]" value="1" <?php if ($_smarty_tpl->tpl_vars['closesite']->value==1){?>checked<?php }?> />&nbsp;&nbsp;是</td>
                                    <td><div id="closesiteTip"></div></td>
                        </tr>
                        <tr>
                                    <td align="right">关闭网站原因:</td>
                                    <td><textarea cols="30" name="webconfig[closereason]" id="closereason" rows="5" /><?php echo $_smarty_tpl->tpl_vars['closereason']->value;?>
</textarea></td>
                                    <td><div  id="closereasonTip"></div></td>
                        </tr>
                        <tr>
                                    <td align="right">网站备案号:</td>
                                    <td><input type="text" name="webconfig[beian]" id="beian" value="<?php echo $_smarty_tpl->tpl_vars['beian']->value;?>
" /></td>
                                    <td><div id="beianTip"></div></td>
                        </tr>
                        <tr>
                                    <td align="right">网站底部版权信息:</td>
                                    <td><textarea cols="30" name="webconfig[copyright]" id="copyright" rows="5" /><?php echo $_smarty_tpl->tpl_vars['copyright']->value;?>
</textarea></td>
                                    <td><div id="copyrightTip"></div></td>
                        </tr>
                    
                        <tr>
                                    <td align="right">是否采用伪静态:</td>
                                    <td><input type="radio" name="webconfig[ishtml]" id="ishtml" value="0" <?php if ($_smarty_tpl->tpl_vars['closesite']->value==0){?>checked<?php }?> />&nbsp;&nbsp;否 &nbsp;&nbsp;<input type="radio" name="webconfig[ishtml]" value="1" <?php if ($_smarty_tpl->tpl_vars['closesite']->value==1){?>checked<?php }?> />&nbsp;&nbsp;是</td>
                                    <td><div id="ishtmlTip"></div></td>
                        </tr>
                        <tr>
                            <td colspan="3">
                                <hr size="1"/>
                            </td>
                        </tr>
                        <tr>
                            <td colspan="3"><div class="base_btn"><input type="submit" name="submit" value="提交" /></div></td>
                        </tr>
                </table>
                </form>
        </div>
    </div>
</body><?php }} ?>